/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gui;

import javax.swing.tree.DefaultMutableTreeNode;

/**
 *
 * @author wang
 */
public class MyNode extends DefaultMutableTreeNode{

    private int x;

    MyNode(String string) {
        //throw new UnsupportedOperationException("Not yet implemented");
        super(string);
    }
    public int getInt(){
        return x;
    }
    public void setInt(int x){
        this.x = x;
    }
}
